<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>人员档案增加</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
<script language="javascript" src="<%=request.getContextPath()%>/js/meizzDate.js"></script>
<script type="text/javascript">
		function check(form1){
			if(form1.perFileName.value==""){
				alert("姓名不能为空!");
				form1.perFileName.focus();
				return false;
			}
			if(form1.perFileEnfoceCardNum.value==""){
				alert("执法证号执法证号不能为空!");
				form1.perFileEnfoceCardNum.focus();
				return false;
			}
			
			if(form1.perFileLoginName.value==""){
				alert("登陆帐号不能为空!");
				form1.perFileLoginName.focus();
				return false;
			}
			if(form1.perFileLoginPass.value==""){
				alert("登陆密码不能为空!");
				form1.perFileLoginPass.focus();
				return false;
			}
		}
</script>

</head>

<body>
<form action="<%=request.getContextPath()%>/PersionFile.do?method=add" name="form1" method="post" onsubmit="return check(form1)" target="sbt">
<table width="100%"  border="0">
<tr>   
    <td align="right" class="bg_blue"><font color="red">*</font>&nbsp;&nbsp;姓&nbsp;&nbsp;&nbsp;&nbsp;名：</td>
    <td><input type="text" name="perFileName"/></td>
     <td align="right" width="15%" rowspan="7" class="bg_blue">用户照片：</td>
    <td rowspan="7">
     <span id="fileName">
     <img src="<%=request.getContextPath()%>/images/none.jpg" width="110" height="122">
     </span>
     <iframe name="upload" src="<%=request.getContextPath()%>/admin/persionFileUpload.jsp" frameBorder="0" width="100%" height="40" scrolling="no"></iframe>
 <br> 支持格式:.jpg;.jpeg;.gif 图片推荐尺寸：110*122
    <input type="hidden" name="perFilePhotoUrl" maxlength="200">
     <br/>
    </td>
  </tr>
  <tr>
	  <td align="right" class="bg_blue">性&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
	  <td>
	    	 <input type="radio" value="1" name="perFileSex"  checked> 男
			 <input type="radio" value="2" name="perFileSex" > 女
	    </td>
  </tr>
	<tr>
	     <td align="right" class="bg_blue">籍&nbsp;&nbsp;&nbsp;&nbsp;贯：</td>
	     <td><input type="text" name="perFileNativePlace" maxlength="50"/></td>
	 <tr>
	 <tr>
     <td align="right" class="bg_blue">职&nbsp;&nbsp;&nbsp;&nbsp;务：</td>
     <td><input type="text" name="perFileDuty" maxlength="20"/></td>
  </tr>
  <tr>
    <td align="right" width="15%" class="bg_blue"><font color="red">*</font>&nbsp;&nbsp;执法证号：</td>
    <td><input type="text" width="25%" name="perFileEnfoceCardNum" maxlength="20"/></td>
  </tr>
  <tr>
    <td align="right" class="bg_blue">监察证号：</td>
    <td><input type="text" name="perFileSupCardNum" maxlength="20"/></td>
  </tr>
  <tr>
   <td align="right" class="bg_blue">身份证号：</td>
    <td><input type="text" name="perFileIdCardNum" maxlength="20"/></td>
     <td colspan="2" rowspan="6" align="left" valign="top">
  </tr>
   <tr>
     <td align="right" class="bg_blue">出生年月：</td>
     <td>
		 <input type="text" name="perFileBirthday" onclick="SelectDate(this,'yyyy-MM-dd')" readonly>
     </td>
  </tr>
   <tr>
    <td align="right" class="bg_blue">文化程度：</td>
    <td><cms:selectAll dataType="003" name="perFileEducationLevel" firstTitle="请选择.."></cms:selectAll></td>
  </tr>
   <tr>
     <td align="right" class="bg_blue">政治面貌：</td>
     <td><cms:selectAll dataType="008" name="perFilePoliticalStatus" firstTitle="请选择.."></cms:selectAll></td>
   </tr>
  <tr>
    <td align="right" class="bg_blue"><font color="red">*</font>&nbsp;&nbsp;登陆帐户：</td>
    <td><input type="text" name="perFileLoginName" maxlength="20"/></td>
  </tr>
     <tr>
     <td align="right" class="bg_blue"><font color="red">*</font>&nbsp;&nbsp;登录密码：</td>
     <td><input type="text" name="perFileLoginPass" maxlength="20"/></td>
  </tr>
  <tr><td class="nohover" align="center" colspan="4"> <input class="buttonsubmit" type="submit" value="提交" name="" />
  &nbsp;<input class="buttonreset" type="reset" value="重置"> 
  <input class="buttonreturn" type="button" value="返回" name="" onClick="javascript:window.location.href='<%=request.getContextPath()%>/PersionFile.do?method=list';"/></td></tr>
</table>
</form>
<iframe name="sbt" src="" frameBorder="0" width="0" height="0"></iframe>
</body>
</html>
